<?php

use yii\db\Migration;

class m181108_011848_card_add_dispatch_time extends Migration
{
    public function safeUp()
    {
        $this->addColumn('{{%card}}', 'dispatch_time', $this->integer()->comment('分配时间')->after('create_time'));
    }

    public function safeDown()
    {
        $this->dropColumn('{{%card}}', 'dispatch_time');
    }
}
